import { Column, CreateDateColumn, Entity, ObjectId, ObjectIdColumn } from "typeorm"

@Entity("userInfo")
export class userInfo {
    @ObjectIdColumn()  
    _id: ObjectId;  

    @Column()
    password: string;

    @Column()
    name: string;

    @Column()
    flag: string;

    @CreateDateColumn()
    date: Date;
}
